package cn.homework.dao;

import cn.homework.domain.Notice;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface NoticeDao {
    List<Notice> findAllNotice();

    void deleteNoticeById(String id);

    void addNotice(String message, String admin);

    List<Notice> findNoticeByCondition(Map<String, String[]> map);
}
